package com.dongjiantong.quarantine.serviceImpl;

import com.dongjiantong.common.web.sso.LoginInfo;
import com.dongjiantong.mybatis.BaseService;
import com.dongjiantong.quarantine.model.Harmless;

import java.util.Map;

/**
 * Created by mz on 23/11/17.
 *
 */
public interface HarmlessWriteService extends BaseService<Harmless> {

    /**
     * 无害化更新
     * @param harmless 无害化单据对象
     * @param toStatus 到状态
     * @return Map<String , Object>
     */
    Map<String , Object> update(Harmless harmless , Integer toStatus, LoginInfo loginInfo);

    /**
     * 更新无害化的delete-flag
     * @param updateHarmlessParamMap 参数
     */
    void updateDeleteFlag(Map<String, Object> updateHarmlessParamMap);
}
